if (CONFIG_CAL_FSM_ENABLE)

include_directories(.)

aux_source_directory(. FSM_SOURCE)

link_libraries(log)
link_libraries(cli)

add_executable(fsm.run ${FSM_SOURCE})

set(FSM_LIB plum_fsm_attr.c plum_fsm_event.c plum_fsm_service.c)

add_library(fsm ${FSM_LIB})

endif()
